package com.ftg.midamall.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ftg.midamall.comm.vo.RespMessUtil;
import org.yaml.snakeyaml.events.Event;

import java.util.List;


/**
 * @author qjw
 * @version 1.0
 * @date 2023/10/31 15:38
 */

public interface IUmsRoleService {

    /**
     * 分页模糊查询展示
     * @param pageSize
     * @param pageLimit
     * @param roleName
     * @return
     */
     RespMessUtil<IPage> showAllWithPage(long pageSize, long pageLimit, String roleName);



    /**
     * 批量删除
     * @param ids
     * @return
     */

    Integer deleteBatchByIds(List<Long> ids);

    /**
     * 切换状态
     * @param id
     * @return
     */

    Boolean switchStatus(Long id);

    RespMessUtil<List<Integer>> selectMeunIds(Long roleId);
}
